package top.lingkang.fas.admin.config;

import cn.hutool.captcha.generator.CodeGenerator;
import top.lingkang.fas.admin.web.impl.Captcha;
import top.lingkang.fas.admin.web.impl.MathCaptchaGenerator;

/**
 * @author lingkang
 * created by 2025/7/20 2:08
 */
public class CaptchaImageGen implements CodeGenerator {
    @Override
    public String generate() {
        Captcha generate = MathCaptchaGenerator.generate();
        return generate.getQuestion();
    }

    @Override
    public boolean verify(String s, String s1) {
        return false;
    }
}
